import Vue from 'vue'
import App from './App.vue'
import router from '@/router';
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  //注册路由给组件的身上添加了$router与$route
  router,
}).$mount('#app')
